using System.Collections;
using UnityEngine;

/// <summary>
/// ����״̬
/// </summary>
public class UltimateState : IFsmState
{
    public void Enter(Entity entity, params object[] args)
    {
        Logger.Log($"��UltimateState�� ���===>>> {entity.name} ");
        var target = entity.AttackComponent.FindEnemy();
        SkillExecutor.Execute(entity.EntityData.AttackData, entity, target);
    }

    public void Exit(Entity entity, params object[] args)
    {
        
    }

    public void Process(Entity entity, params object[] args)
    {
        
    }
}
